Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add shap value features on each estimator (depends on master branch of shap) #336

Merged
merged 23 commits into from
Dec 25, 2020

Conversation

heimengqi
Copy link
Contributor

  • add shap_values method on each of our estimators except for OrthoIV classes, which plan to add after we have a more complete version of subclasses
  • Currently this PR depends on the master branch of shap package, not the released version
  • Fix the comparison table

@heimengqi heimengqi marked this pull request as ready for review December 8, 2020 22:05
Copy link
Collaborator

@kbattocchi kbattocchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good, but I added some feedback.

econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/dml.py Show resolved Hide resolved
econml/drlearner.py Outdated Show resolved Hide resolved
econml/tests/test_shap.py Outdated Show resolved Hide resolved
econml/utilities.py Outdated Show resolved Hide resolved
econml/utilities.py Outdated Show resolved Hide resolved
econml/utilities.py Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@heimengqi heimengqi force-pushed the mehei/shapvalue branch 2 times, most recently from 3a54299 to 86a4283 Compare December 18, 2020 19:34
@kbattocchi kbattocchi force-pushed the mehei/shapvalue branch 3 times, most recently from 1afe249 to d0dcc13 Compare December 19, 2020 15:54
Copy link
Collaborator

@vsyrgkanis vsyrgkanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another general request: I think we should have a Explain Cate with SHAP.ipynb notebook that portrays all the functionality with SHAP. It seems important. But we could also do this post-release and prioritize all the other changes requested.

econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/cate_estimator.py Outdated Show resolved Hide resolved
econml/dml.py Outdated Show resolved Hide resolved
econml/drlearner.py Show resolved Hide resolved
econml/metalearners.py Show resolved Hide resolved
econml/utilities.py Outdated Show resolved Hide resolved
econml/shap.py Outdated Show resolved Hide resolved
econml/shap.py Outdated Show resolved Hide resolved
econml/drlearner.py Outdated Show resolved Hide resolved
econml/shap.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@vsyrgkanis vsyrgkanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All comments have been addressed!

@vsyrgkanis vsyrgkanis merged commit 3df959d into master Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants